package com.community.web.master.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.community.model.entity.Store;
import com.community.web.master.domain.vo.StoreGoodsVo;
import com.community.web.master.domain.vo.StoreWithAreaVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李晶
 * @since 2024-07-02
 */
public interface StoreMapper extends BaseMapper<Store> {

    List<StoreWithAreaVo> selectPageByMap(Map<String, Object> map);

    /**
     * 查询店里的商品
     * @param map
     * @return
     */
    List<StoreGoodsVo> selectGoodsPageByMap(Map<String, Object> map);
}
